package com.ransj.ndkpath;

import android.os.Process;

import com.ransj.ndkpath.basic.PageBasicList;
import com.ransj.ndkpath.common.NdkActivity;
import com.ransj.ndkpath.gles.Page_GL_HelloWorld;
import com.ransj.ndkpath.gles.Page_GL_List;

public class NdkPathActivity extends NdkActivity {
	private static final String NAME[] = {"BASIC","SDL","GLES"};
	private static final String ACTIVITY[] = { //
		PageBasicList.class.getName(), //
		"",//
		Page_GL_List.class.getName(),//
	};

	@Override
	protected void initData() {
		this.mNameArray = NAME;
		this.mActivityArray = ACTIVITY;
	}
	
	

	@Override
	protected void onDestroy() {
		super.onDestroy();
		onBackPressed();
	}



	@Override
	public void onBackPressed() {
		super.onBackPressed();
		finish();
		Process.killProcess(Process.myPid());
	}
	
	
}